package com.cc.alltype.wechat;

import java.io.Serializable;

/**
 * 微信小程序调用API wx.login() 方法返回的响应数据
 * 请求成功时：
 * errMsg="login:ok"
 * code="用于获取微信用户信息的code字符串"
 * @author chanchaw
 * @create 2024-09-21 15:17
 */
public class MiniLoginRes implements Serializable {
    private static final long serialVersionUID = 1L;
    private String errMsg;
    private String code;

    public MiniLoginRes() {
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String toString() {
        return "MiniLoginRes{" +
                "errMsg='" + errMsg + '\'' +
                ", code='" + code + '\'' +
                '}';
    }
}
